package com.hyts.bmsp.bean;

import java.io.Serializable;

/**
 * @ClassName: ResultJsonBean
 * @Description: 返回的Json字符串对象封装类
 * @author: 李博/Alex
 * @date: 2017-2-14 下午08:04:09
 */
public class ResultJsonBean implements Serializable{

	/**
	 * @fieldName: serialVersionUID
	 * @fieldType: long
	 * @Description: 串行化流水号
	 */
	private static final long serialVersionUID = 1042649095052163028L;

	private boolean success;//是否成功
	
	private String message;//信息
	
	private Object entity;//实体

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getEntity() {
		return entity;
	}

	public void setEntity(Object entity) {
		this.entity = entity;
	}

	public ResultJsonBean(boolean success, String message, Object entity) {
		super();
		this.success = success;
		this.message = message;
		this.entity = entity;
	}

	public ResultJsonBean(boolean success, String message) {
		super();
		this.success = success;
		this.message = message;
	}

	public ResultJsonBean(boolean success, Object entity) {
		super();
		this.success = success;
		this.entity = entity;
	}
	
}
